package com.candy.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.candy.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件
 * </p>
 *
 * @author pxs
 * @since 2021-07-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_attachment")
@ApiModel(value="Attachment对象", description="文件")
public class Attachment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色编码")
    private String type;

    @ApiModelProperty(value = "权限标识")
    private Long size;

    @ApiModelProperty(value = "角色编码")
    private String path;

    @ApiModelProperty(value = "关联数据ID")
    private Long ralationId;

    @ApiModelProperty(value = "关联标记")
    private String relationTag;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "是否需要登录")
    private Integer isAuthorize;

}
